Make KML output more compliant by moving schema element.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 22 Oct 2010 15:49:15 +0000 (15:49 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 22 Oct 2010 15:49:15 +0000 (15:49 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4038 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/kml.c
gpsbabel/reference/bounds-test.kml
gpsbabel/reference/earth-expertgps-track.kml
gpsbabel/reference/earth-expertgps.kml
gpsbabel/reference/track/bounds-test-track.kml
gpsbabel/reference/track/gpx_garmin_extensions-kml_track.kml
gpsbabel/reference/track/gtrnctr_power-kml.kml
gpsbabel/reference/track/segmented_tracks-track.kml
gpsbabel/reference/track/segmented_tracks.kml

index 73dc39556e7c63dadf79aebd7c27d9470886ed1b..caeb19af8b033ef60b936764b0934e034190ca95 100644 (file)
@@ -1487,31 +1487,6 @@ void kml_write(void)
                kml_write_xml(0, "<Snippet>Created %s</Snippet>\n", import_time);
        }
 
-       if(traits->trait_heartrate ||
-               traits->trait_cadence ||
-               traits->trait_power ||
-               traits->trait_temperature ||
-               traits->trait_depth) {
-               kml_write_xml(1, "<Schema id=\"schema\">\n");
-
-               if(traits->trait_heartrate) {
-                       kml_mt_array_schema(kmt_heartrate, "Heart Rate", "int");
-               }
-               if(traits->trait_cadence) {
-                       kml_mt_array_schema(kmt_cadence, "Cadence", "int");
-               }
-               if(traits->trait_power) {
-                       kml_mt_array_schema(kmt_power, "Power", "float");
-               }
-               if(traits->trait_temperature) {
-                       kml_mt_array_schema(kmt_temperature, "Temperature", "float");
-               }
-               if(traits->trait_depth) {
-                       kml_mt_array_schema(kmt_depth, "Depth", "float");
-               }
-               kml_write_xml(-1, "</Schema>\n");
-       }
-
        // Style settings for bitmaps
        if (route_waypt_count()) {
                kml_write_bitmap_style(kmlpt_route, ICON_RTE, NULL);
@@ -1548,6 +1523,32 @@ void kml_write(void)
        if (traits->trait_geocaches) {
                kml_gc_make_ballonstyle();
        }
+
+       if(traits->trait_heartrate ||
+               traits->trait_cadence ||
+               traits->trait_power ||
+               traits->trait_temperature ||
+               traits->trait_depth) {
+               kml_write_xml(1, "<Schema id=\"schema\">\n");
+
+               if(traits->trait_heartrate) {
+                       kml_mt_array_schema(kmt_heartrate, "Heart Rate", "int");
+               }
+               if(traits->trait_cadence) {
+                       kml_mt_array_schema(kmt_cadence, "Cadence", "int");
+               }
+               if(traits->trait_power) {
+                       kml_mt_array_schema(kmt_power, "Power", "float");
+               }
+               if(traits->trait_temperature) {
+                       kml_mt_array_schema(kmt_temperature, "Temperature", "float");
+               }
+               if(traits->trait_depth) {
+                       kml_mt_array_schema(kmt_depth, "Depth", "float");
+               }
+               kml_write_xml(-1, "</Schema>\n");
+       }
+
         if (waypt_count()) {
                if (!realtime_positioning) {
                        kml_write_xml(1, "<Folder>\n");
index ad43ae83188e237fe9078a56353cce7e62a02c9a..92185e5c15d17d481743f769bd6a7ca4ddc3ac51 100644 (file)
             <tessellate>1</tessellate>
             <coordinates>
               -117.422570,36.339560,479.30
-              -117.422570,36.339560,479.300000
               -117.354270,36.345010,624.30
-              -117.354270,36.345010,624.300000
               -117.349030,36.344640,663.70
-              -117.349030,36.344640,663.700000
               -117.335270,36.348710,762.10
-              -117.335270,36.348710,762.100000
               -117.316960,36.346040,927.40
-              -117.316960,36.346040,927.400000
               -117.314020,36.343080,940.40
-              -117.314020,36.343080,940.400000
               -117.311530,36.342480,969.30
-              -117.311530,36.342480,969.300000
               -117.307620,36.346880,1028.20
-              -117.307620,36.346880,1028.200000
               -117.301180,36.347060,1094.50
-              -117.301180,36.347060,1094.500000
               -117.295650,36.351920,1132.70
-              -117.295650,36.351920,1132.700000
               -117.292270,36.357050,1184.90
-              -117.292270,36.357050,1184.900000
               -117.289430,36.358440,1201.80
-              -117.289430,36.358440,1201.800000
               -117.286380,36.364320,1281.70
-              -117.286380,36.364320,1281.700000
               -117.287070,36.367970,1311.30
-              -117.287070,36.367970,1311.300000
               -117.278460,36.406150,1493.90
-              -117.278460,36.406150,1493.900000
               -117.274150,36.414650,1439.50
-              -117.274150,36.414650,1439.500000
               -117.270260,36.419620,1395.50
-              -117.270260,36.419620,1395.500000
               -117.267430,36.419700,1377.70
-              -117.267430,36.419700,1377.700000
               -117.260620,36.428730,1291.50
-              -117.260620,36.428730,1291.500000
               -117.251140,36.434140,1226.00
-              -117.251140,36.434140,1226.000000
               -117.243900,36.446250,1089.00
-              -117.243900,36.446250,1089.000000
               -117.236110,36.463810,926.00
-              -117.236110,36.463810,926.000000
               -117.226980,36.494960,669.90
-              -117.226980,36.494960,669.900000
               -117.222650,36.519980,514.40
-              -117.222650,36.519980,514.400000
               -117.218940,36.529870,449.50
-              -117.218940,36.529870,449.500000
               -117.199580,36.563200,216.30
-              -117.199580,36.563200,216.300000
               -117.147410,36.605940,3.40
-              -117.147410,36.605940,3.400000
               -117.143600,36.607880,-4.40
-              -117.143600,36.607880,-4.400000
               -117.137140,36.607210,-5.40
-              -117.137140,36.607210,-5.400000
               -117.127830,36.603590,-0.20
-              -117.127830,36.603590,-0.200000
               -117.117700,36.605420,-2.60
-              -117.117700,36.605420,-2.600000
               -117.106740,36.604640,-1.30
-              -117.106740,36.604640,-1.300000
               -117.097480,36.601210,-4.90
-              -117.097480,36.601210,-4.900000
               -117.094200,36.601720,-8.90
-              -117.094200,36.601720,-8.900000
               -117.082040,36.611300,-13.00
-              -117.082040,36.611300,-13.000000
               -117.067710,36.617900,-21.20
-              -117.067710,36.617900,-21.200000
               -117.035740,36.639210,36.80
-              -117.035740,36.639210,36.800000
               -117.031520,36.639940,39.90
-              -117.031520,36.639940,39.900000
               -117.029010,36.638970,45.00
-              -117.029010,36.638970,45.000000
               -117.024030,36.633800,45.90
-              -117.024030,36.633800,45.900000
               -117.016190,36.628480,45.20
-              -117.016190,36.628480,45.200000
               -117.006890,36.625430,42.50
-              -117.006890,36.625430,42.500000
               -116.969890,36.596550,-49.10
-              -116.969890,36.596550,-49.100000
               -116.954760,36.592470,-55.90
-              -116.954760,36.592470,-55.900000
               -116.936270,36.584200,-60.40
-              -116.936270,36.584200,-60.400000
               -116.927060,36.575990,-67.90
-              -116.927060,36.575990,-67.900000
               -116.909750,36.568520,-69.80
-              -116.909750,36.568520,-69.800000
               -116.904380,36.561450,-68.70
-              -116.904380,36.561450,-68.700000
               -116.894840,36.557140,-69.10
-              -116.894840,36.557140,-69.100000
               -116.891610,36.549690,-67.60
-              -116.891610,36.549690,-67.600000
               -116.886030,36.543000,-69.30
-              -116.886030,36.543000,-69.300000
               -116.882770,36.532760,-69.90
-              -116.882770,36.532760,-69.900000
               -116.881860,36.513990,-63.60
-              -116.881860,36.513990,-63.600000
               -116.875450,36.502030,-61.00
-              -116.875450,36.502030,-61.000000
               -116.875070,36.498060,-57.90
-              -116.875070,36.498060,-57.900000
               -116.868420,36.487220,-39.80
-              -116.868420,36.487220,-39.800000
               -116.871370,36.482910,-57.70
-              -116.871370,36.482910,-57.700000
               -116.868950,36.479500,-64.40
-              -116.868950,36.479500,-64.400000
               -116.865460,36.460850,-55.60
-              -116.865460,36.460850,-55.600000
               -116.879200,36.463640,-67.30
-              -116.879200,36.463640,-67.300000
             </coordinates>
           </LineString>
         </Placemark>
index 8b9f8d10f0a50d0e93ebc3036bab8b0b6adac5c0..94a223e99c2bc0273babac3387e3f344d67e3f45 100644 (file)
             <tessellate>1</tessellate>
             <coordinates>
               -91.610350,30.062183,1.00
-              -91.610350,30.062183,1.000000
               -91.610567,30.062783
-              -91.610567,30.062783
-              -91.608267,30.062700
               -91.608267,30.062700
               -91.607383,30.062333
-              -91.607383,30.062333
-              -91.605283,30.061533
               -91.605283,30.061533
               -91.599400,30.059783
-              -91.599400,30.059783
-              -91.596683,30.057800
               -91.596683,30.057800
               -91.594900,30.055383
-              -91.594900,30.055383
               -91.592617,30.053883
-              -91.592617,30.053883
-              -91.589750,30.049733
               -91.589750,30.049733
               -91.589883,30.049017
-              -91.589883,30.049017
               -91.592933,30.048800
-              -91.592933,30.048800
-              -91.596450,30.046233
               -91.596450,30.046233
               -91.598717,30.045517
-              -91.598717,30.045517
-              -91.600267,30.047300
               -91.600267,30.047300
               -91.599633,30.047000,2.00
-              -91.599633,30.047000,2.000000
-              -91.599467,30.046433
               -91.599467,30.046433
               -91.598950,30.046200,1.00
-              -91.598950,30.046200,1.000000
               -91.597733,30.046367
-              -91.597733,30.046367
-              -91.597167,30.046350
               -91.597167,30.046350
               -91.596333,30.046783
-              -91.596333,30.046783
-              -91.595200,30.047450
               -91.595200,30.047450
               -91.594767,30.047800,2.00
-              -91.594767,30.047800,2.000000
               -91.594083,30.048250,1.00
-              -91.594083,30.048250,1.000000
               -91.593800,30.048683,1.00
-              -91.593800,30.048683,1.000000
-              -91.593850,30.049350
               -91.593850,30.049350
               -91.593983,30.050317,2.00
-              -91.593983,30.050317,2.000000
               -91.594117,30.050783
-              -91.594117,30.050783
-              -91.594367,30.051233
               -91.594367,30.051233
               -91.594367,30.051800
-              -91.594367,30.051800
               -91.594667,30.052217
-              -91.594667,30.052217
-              -91.594683,30.053017
               -91.594683,30.053017
               -91.595200,30.054867,6.00
-              -91.595200,30.054867,6.000000
               -91.594933,30.053733,2.00
-              -91.594933,30.053733,2.000000
-              -91.594783,30.053183
               -91.594783,30.053183
               -91.594833,30.052633
-              -91.594833,30.052633
-              -91.595433,30.052450
               -91.595433,30.052450
               -91.595967,30.052483
-              -91.595967,30.052483
               -91.596783,30.052650,1.00
-              -91.596783,30.052650,1.000000
-              -91.597850,30.053133
               -91.597850,30.053133
               -91.597967,30.053617
-              -91.597967,30.053617
               -91.597767,30.053967,6.00
-              -91.597767,30.053967,6.000000
-              -91.598083,30.053617
               -91.598083,30.053617
               -91.597917,30.053200
-              -91.597917,30.053200
               -91.597517,30.052817
-              -91.597517,30.052817
-              -91.596933,30.052567
               -91.596933,30.052567
               -91.596433,30.052333
-              -91.596433,30.052333
               -91.595683,30.052250
-              -91.595683,30.052250
-              -91.595017,30.052217
               -91.595017,30.052217
               -91.594700,30.051883
-              -91.594700,30.051883
               -91.594400,30.051050
-              -91.594400,30.051050
-              -91.594233,30.050567
               -91.594233,30.050567
               -91.594100,30.050183
-              -91.594100,30.050183
-              -91.593717,30.049100
               -91.593717,30.049100
               -91.594250,30.048450
-              -91.594250,30.048450
-              -91.594750,30.048083
               -91.594750,30.048083
               -91.595450,30.047500,7.00
-              -91.595450,30.047500,7.000000
-              -91.596000,30.047067
               -91.596000,30.047067
               -91.596600,30.046633
-              -91.596600,30.046633
-              -91.597650,30.046400
               -91.597650,30.046400
               -91.598467,30.046233
-              -91.598467,30.046233
               -91.598967,30.046317
-              -91.598967,30.046317
-              -91.599283,30.046783
               -91.599283,30.046783
               -91.599667,30.047133
-              -91.599667,30.047133
             </coordinates>
           </LineString>
         </Placemark>
             <tessellate>1</tessellate>
             <coordinates>
               -71.107628,42.430950,23.47
-              -71.107628,42.430950,23.469600
               -71.109236,42.431240,26.56
-              -71.109236,42.431240,26.561890
               -71.109942,42.434980,45.31
-              -71.109942,42.434980,45.307495
               -71.113223,42.436757,37.62
-              -71.113223,42.436757,37.616943
               -71.114456,42.439018,56.39
-              -71.114456,42.439018,56.388000
               -71.114803,42.438594,46.03
-              -71.114803,42.438594,46.028564
               -71.116146,42.438917,44.83
-              -71.116146,42.438917,44.826904
               -71.119277,42.438878,44.59
-              -71.119277,42.438878,44.586548
               -71.119689,42.439227,57.61
-              -71.119689,42.439227,57.607200
               -71.120925,42.439993,53.95
-              -71.120925,42.439993,53.949600
               -71.121676,42.441727,67.36
-              -71.121676,42.441727,67.360800
               -71.122044,42.443904,50.59
-              -71.122044,42.443904,50.594727
               -71.122845,42.445359,61.65
-              -71.122845,42.445359,61.649902
               -71.121447,42.447298,127.71
-              -71.121447,42.447298,127.711200
               -71.122320,42.449765,119.81
-              -71.122320,42.449765,119.809082
               -71.121746,42.451442,74.63
-              -71.121746,42.451442,74.627442
               -71.121211,42.453256,77.99
-              -71.121211,42.453256,77.992066
               -71.119356,42.456252,78.71
-              -71.119356,42.456252,78.713135
               -71.119676,42.456592,78.71
-              -71.119676,42.456592,78.713135
               -71.119845,42.457388,73.76
-              -71.119845,42.457388,73.761600
               -71.119135,42.458148,68.28
-              -71.119135,42.458148,68.275200
               -71.117693,42.459377,64.01
-              -71.117693,42.459377,64.008000
               -71.119828,42.464183,53.00
-              -71.119828,42.464183,52.997925
               -71.119399,42.465650,56.39
-              -71.119399,42.465650,56.388000
               -71.119328,42.465913,64.53
-              -71.119328,42.465913,64.533692
               -71.113574,42.467110,53.64
-              -71.113574,42.467110,53.644800
               -71.110067,42.466459,48.77
-              -71.110067,42.466459,48.768000
               -71.109410,42.466557,49.07
-              -71.109410,42.466557,49.072800
               -71.107117,42.463495,62.48
-              -71.107117,42.463495,62.484000
               -71.107360,42.465687,87.78
-              -71.107360,42.465687,87.782400
               -71.106170,42.459986,72.95
-              -71.106170,42.459986,72.945191
               -71.105116,42.457616,72.85
-              -71.105116,42.457616,72.847200
               -71.105206,42.453845,66.70
-              -71.105206,42.453845,66.696655
               -71.105413,42.451430,57.56
-              -71.105413,42.451430,57.564209
               -71.106158,42.448448,62.18
-              -71.106158,42.448448,62.179200
               -71.106624,42.447804,62.48
-              -71.106624,42.447804,62.484000
               -71.108882,42.444773,62.79
-              -71.108882,42.444773,62.788800
               -71.106301,42.443592,55.47
-              -71.106301,42.443592,55.473600
               -71.111441,42.442981,64.01
-              -71.111441,42.442981,64.008000
               -71.110975,42.442196,64.01
-              -71.110975,42.442196,64.008000
               -71.113220,42.441754,56.39
-              -71.113220,42.441754,56.388000
               -71.114456,42.439018,56.39
-              -71.114456,42.439018,56.388000
               -71.113223,42.436757,37.62
-              -71.113223,42.436757,37.616943
               -71.109942,42.434980,45.31
-              -71.109942,42.434980,45.307495
               -71.109236,42.431240,26.56
-              -71.109236,42.431240,26.561890
               -71.107628,42.430950,23.47
-              -71.107628,42.430950,23.469600
             </coordinates>
           </LineString>
         </Placemark>
index e38b0f4481718821143ed0dc69594ddeaf714746..be2a0ba7dfddd8a5ad21b6f526b23ff23efa2288 100644 (file)
             <tessellate>1</tessellate>
             <coordinates>
               -91.610350,30.062183,1.00
-              -91.610350,30.062183,1.000000
               -91.610567,30.062783
-              -91.610567,30.062783
-              -91.608267,30.062700
               -91.608267,30.062700
               -91.607383,30.062333
-              -91.607383,30.062333
-              -91.605283,30.061533
               -91.605283,30.061533
               -91.599400,30.059783
-              -91.599400,30.059783
-              -91.596683,30.057800
               -91.596683,30.057800
               -91.594900,30.055383
-              -91.594900,30.055383
               -91.592617,30.053883
-              -91.592617,30.053883
-              -91.589750,30.049733
               -91.589750,30.049733
               -91.589883,30.049017
-              -91.589883,30.049017
               -91.592933,30.048800
-              -91.592933,30.048800
-              -91.596450,30.046233
               -91.596450,30.046233
               -91.598717,30.045517
-              -91.598717,30.045517
-              -91.600267,30.047300
               -91.600267,30.047300
               -91.599633,30.047000,2.00
-              -91.599633,30.047000,2.000000
-              -91.599467,30.046433
               -91.599467,30.046433
               -91.598950,30.046200,1.00
-              -91.598950,30.046200,1.000000
               -91.597733,30.046367
-              -91.597733,30.046367
-              -91.597167,30.046350
               -91.597167,30.046350
               -91.596333,30.046783
-              -91.596333,30.046783
-              -91.595200,30.047450
               -91.595200,30.047450
               -91.594767,30.047800,2.00
-              -91.594767,30.047800,2.000000
               -91.594083,30.048250,1.00
-              -91.594083,30.048250,1.000000
               -91.593800,30.048683,1.00
-              -91.593800,30.048683,1.000000
-              -91.593850,30.049350
               -91.593850,30.049350
               -91.593983,30.050317,2.00
-              -91.593983,30.050317,2.000000
               -91.594117,30.050783
-              -91.594117,30.050783
-              -91.594367,30.051233
               -91.594367,30.051233
               -91.594367,30.051800
-              -91.594367,30.051800
               -91.594667,30.052217
-              -91.594667,30.052217
-              -91.594683,30.053017
               -91.594683,30.053017
               -91.595200,30.054867,6.00
-              -91.595200,30.054867,6.000000
               -91.594933,30.053733,2.00
-              -91.594933,30.053733,2.000000
-              -91.594783,30.053183
               -91.594783,30.053183
               -91.594833,30.052633
-              -91.594833,30.052633
-              -91.595433,30.052450
               -91.595433,30.052450
               -91.595967,30.052483
-              -91.595967,30.052483
               -91.596783,30.052650,1.00
-              -91.596783,30.052650,1.000000
-              -91.597850,30.053133
               -91.597850,30.053133
               -91.597967,30.053617
-              -91.597967,30.053617
               -91.597767,30.053967,6.00
-              -91.597767,30.053967,6.000000
-              -91.598083,30.053617
               -91.598083,30.053617
               -91.597917,30.053200
-              -91.597917,30.053200
               -91.597517,30.052817
-              -91.597517,30.052817
-              -91.596933,30.052567
               -91.596933,30.052567
               -91.596433,30.052333
-              -91.596433,30.052333
               -91.595683,30.052250
-              -91.595683,30.052250
-              -91.595017,30.052217
               -91.595017,30.052217
               -91.594700,30.051883
-              -91.594700,30.051883
               -91.594400,30.051050
-              -91.594400,30.051050
-              -91.594233,30.050567
               -91.594233,30.050567
               -91.594100,30.050183
-              -91.594100,30.050183
-              -91.593717,30.049100
               -91.593717,30.049100
               -91.594250,30.048450
-              -91.594250,30.048450
-              -91.594750,30.048083
               -91.594750,30.048083
               -91.595450,30.047500,7.00
-              -91.595450,30.047500,7.000000
-              -91.596000,30.047067
               -91.596000,30.047067
               -91.596600,30.046633
-              -91.596600,30.046633
-              -91.597650,30.046400
               -91.597650,30.046400
               -91.598467,30.046233
-              -91.598467,30.046233
               -91.598967,30.046317
-              -91.598967,30.046317
-              -91.599283,30.046783
               -91.599283,30.046783
               -91.599667,30.047133
-              -91.599667,30.047133
             </coordinates>
           </LineString>
         </Placemark>
             <tessellate>1</tessellate>
             <coordinates>
               -71.107628,42.430950,23.47
-              -71.107628,42.430950,23.469600
               -71.109236,42.431240,26.56
-              -71.109236,42.431240,26.561890
               -71.109942,42.434980,45.31
-              -71.109942,42.434980,45.307495
               -71.113223,42.436757,37.62
-              -71.113223,42.436757,37.616943
               -71.114456,42.439018,56.39
-              -71.114456,42.439018,56.388000
               -71.114803,42.438594,46.03
-              -71.114803,42.438594,46.028564
               -71.116146,42.438917,44.83
-              -71.116146,42.438917,44.826904
               -71.119277,42.438878,44.59
-              -71.119277,42.438878,44.586548
               -71.119689,42.439227,57.61
-              -71.119689,42.439227,57.607200
               -71.120925,42.439993,53.95
-              -71.120925,42.439993,53.949600
               -71.121676,42.441727,67.36
-              -71.121676,42.441727,67.360800
               -71.122044,42.443904,50.59
-              -71.122044,42.443904,50.594727
               -71.122845,42.445359,61.65
-              -71.122845,42.445359,61.649902
               -71.121447,42.447298,127.71
-              -71.121447,42.447298,127.711200
               -71.122320,42.449765,119.81
-              -71.122320,42.449765,119.809082
               -71.121746,42.451442,74.63
-              -71.121746,42.451442,74.627442
               -71.121211,42.453256,77.99
-              -71.121211,42.453256,77.992066
               -71.119356,42.456252,78.71
-              -71.119356,42.456252,78.713135
               -71.119676,42.456592,78.71
-              -71.119676,42.456592,78.713135
               -71.119845,42.457388,73.76
-              -71.119845,42.457388,73.761600
               -71.119135,42.458148,68.28
-              -71.119135,42.458148,68.275200
               -71.117693,42.459377,64.01
-              -71.117693,42.459377,64.008000
               -71.119828,42.464183,53.00
-              -71.119828,42.464183,52.997925
               -71.119399,42.465650,56.39
-              -71.119399,42.465650,56.388000
               -71.119328,42.465913,64.53
-              -71.119328,42.465913,64.533692
               -71.113574,42.467110,53.64
-              -71.113574,42.467110,53.644800
               -71.110067,42.466459,48.77
-              -71.110067,42.466459,48.768000
               -71.109410,42.466557,49.07
-              -71.109410,42.466557,49.072800
               -71.107117,42.463495,62.48
-              -71.107117,42.463495,62.484000
               -71.107360,42.465687,87.78
-              -71.107360,42.465687,87.782400
               -71.106170,42.459986,72.95
-              -71.106170,42.459986,72.945191
               -71.105116,42.457616,72.85
-              -71.105116,42.457616,72.847200
               -71.105206,42.453845,66.70
-              -71.105206,42.453845,66.696655
               -71.105413,42.451430,57.56
-              -71.105413,42.451430,57.564209
               -71.106158,42.448448,62.18
-              -71.106158,42.448448,62.179200
               -71.106624,42.447804,62.48
-              -71.106624,42.447804,62.484000
               -71.108882,42.444773,62.79
-              -71.108882,42.444773,62.788800
               -71.106301,42.443592,55.47
-              -71.106301,42.443592,55.473600
               -71.111441,42.442981,64.01
-              -71.111441,42.442981,64.008000
               -71.110975,42.442196,64.01
-              -71.110975,42.442196,64.008000
               -71.113220,42.441754,56.39
-              -71.113220,42.441754,56.388000
               -71.114456,42.439018,56.39
-              -71.114456,42.439018,56.388000
               -71.113223,42.436757,37.62
-              -71.113223,42.436757,37.616943
               -71.109942,42.434980,45.31
-              -71.109942,42.434980,45.307495
               -71.109236,42.431240,26.56
-              -71.109236,42.431240,26.561890
               -71.107628,42.430950,23.47
-              -71.107628,42.430950,23.469600
             </coordinates>
           </LineString>
         </Placemark>
index c53f1a64b208388129e5dc55d88339a104451ecb..4358ec294db2e83e2eb034a3e5de32c73469843e 100644 (file)
             <tessellate>1</tessellate>
             <coordinates>
               -117.422570,36.339560,479.30
-              -117.422570,36.339560,479.300000
               -117.354270,36.345010,624.30
-              -117.354270,36.345010,624.300000
               -117.349030,36.344640,663.70
-              -117.349030,36.344640,663.700000
               -117.335270,36.348710,762.10
-              -117.335270,36.348710,762.100000
               -117.316960,36.346040,927.40
-              -117.316960,36.346040,927.400000
               -117.314020,36.343080,940.40
-              -117.314020,36.343080,940.400000
               -117.311530,36.342480,969.30
-              -117.311530,36.342480,969.300000
               -117.307620,36.346880,1028.20
-              -117.307620,36.346880,1028.200000
               -117.301180,36.347060,1094.50
-              -117.301180,36.347060,1094.500000
               -117.295650,36.351920,1132.70
-              -117.295650,36.351920,1132.700000
               -117.292270,36.357050,1184.90
-              -117.292270,36.357050,1184.900000
               -117.289430,36.358440,1201.80
-              -117.289430,36.358440,1201.800000
               -117.286380,36.364320,1281.70
-              -117.286380,36.364320,1281.700000
               -117.287070,36.367970,1311.30
-              -117.287070,36.367970,1311.300000
               -117.278460,36.406150,1493.90
-              -117.278460,36.406150,1493.900000
               -117.274150,36.414650,1439.50
-              -117.274150,36.414650,1439.500000
               -117.270260,36.419620,1395.50
-              -117.270260,36.419620,1395.500000
               -117.267430,36.419700,1377.70
-              -117.267430,36.419700,1377.700000
               -117.260620,36.428730,1291.50
-              -117.260620,36.428730,1291.500000
               -117.251140,36.434140,1226.00
-              -117.251140,36.434140,1226.000000
               -117.243900,36.446250,1089.00
-              -117.243900,36.446250,1089.000000
               -117.236110,36.463810,926.00
-              -117.236110,36.463810,926.000000
               -117.226980,36.494960,669.90
-              -117.226980,36.494960,669.900000
               -117.222650,36.519980,514.40
-              -117.222650,36.519980,514.400000
               -117.218940,36.529870,449.50
-              -117.218940,36.529870,449.500000
               -117.199580,36.563200,216.30
-              -117.199580,36.563200,216.300000
               -117.147410,36.605940,3.40
-              -117.147410,36.605940,3.400000
               -117.143600,36.607880,-4.40
-              -117.143600,36.607880,-4.400000
               -117.137140,36.607210,-5.40
-              -117.137140,36.607210,-5.400000
               -117.127830,36.603590,-0.20
-              -117.127830,36.603590,-0.200000
               -117.117700,36.605420,-2.60
-              -117.117700,36.605420,-2.600000
               -117.106740,36.604640,-1.30
-              -117.106740,36.604640,-1.300000
               -117.097480,36.601210,-4.90
-              -117.097480,36.601210,-4.900000
               -117.094200,36.601720,-8.90
-              -117.094200,36.601720,-8.900000
               -117.082040,36.611300,-13.00
-              -117.082040,36.611300,-13.000000
               -117.067710,36.617900,-21.20
-              -117.067710,36.617900,-21.200000
               -117.035740,36.639210,36.80
-              -117.035740,36.639210,36.800000
               -117.031520,36.639940,39.90
-              -117.031520,36.639940,39.900000
               -117.029010,36.638970,45.00
-              -117.029010,36.638970,45.000000
               -117.024030,36.633800,45.90
-              -117.024030,36.633800,45.900000
               -117.016190,36.628480,45.20
-              -117.016190,36.628480,45.200000
               -117.006890,36.625430,42.50
-              -117.006890,36.625430,42.500000
               -116.969890,36.596550,-49.10
-              -116.969890,36.596550,-49.100000
               -116.954760,36.592470,-55.90
-              -116.954760,36.592470,-55.900000
               -116.936270,36.584200,-60.40
-              -116.936270,36.584200,-60.400000
               -116.927060,36.575990,-67.90
-              -116.927060,36.575990,-67.900000
               -116.909750,36.568520,-69.80
-              -116.909750,36.568520,-69.800000
               -116.904380,36.561450,-68.70
-              -116.904380,36.561450,-68.700000
               -116.894840,36.557140,-69.10
-              -116.894840,36.557140,-69.100000
               -116.891610,36.549690,-67.60
-              -116.891610,36.549690,-67.600000
               -116.886030,36.543000,-69.30
-              -116.886030,36.543000,-69.300000
               -116.882770,36.532760,-69.90
-              -116.882770,36.532760,-69.900000
               -116.881860,36.513990,-63.60
-              -116.881860,36.513990,-63.600000
               -116.875450,36.502030,-61.00
-              -116.875450,36.502030,-61.000000
               -116.875070,36.498060,-57.90
-              -116.875070,36.498060,-57.900000
               -116.868420,36.487220,-39.80
-              -116.868420,36.487220,-39.800000
               -116.871370,36.482910,-57.70
-              -116.871370,36.482910,-57.700000
               -116.868950,36.479500,-64.40
-              -116.868950,36.479500,-64.400000
               -116.865460,36.460850,-55.60
-              -116.865460,36.460850,-55.600000
               -116.879200,36.463640,-67.30
-              -116.879200,36.463640,-67.300000
             </coordinates>
           </LineString>
         </Placemark>
index 102d6fef3d5d98c3d7f399d8f987b75f2aba8ea8..e68071dc305629e862aa885c4daecf21ff03ccd4 100644 (file)
@@ -3,14 +3,6 @@
        xmlns:gx="http://www.google.com/kml/ext/2.2">
   <Document>
     <name>GPS device</name>
-    <Schema id="schema">
-      <gx:SimpleArrayField name="heartrate" type="int">
-          <displayName>Heart Rate</displayName>
-      </gx:SimpleArrayField>
-      <gx:SimpleArrayField name="cadence" type="int">
-          <displayName>Cadence</displayName>
-      </gx:SimpleArrayField>
-    </Schema>
 <!-- Normal track style -->
     <Style id="track_n">
       <IconStyle>
         <width>6</width>
       </LineStyle>
     </Style>
+    <Schema id="schema">
+      <gx:SimpleArrayField name="heartrate" type="int">
+          <displayName>Heart Rate</displayName>
+      </gx:SimpleArrayField>
+      <gx:SimpleArrayField name="cadence" type="int">
+          <displayName>Cadence</displayName>
+      </gx:SimpleArrayField>
+    </Schema>
     <Folder>
       <name>Waypoints</name>
       <Placemark>
             <tessellate>1</tessellate>
             <coordinates>
               -0.035187,51.506172,0.14
-              -0.035187,51.506172,0.137000
               -0.035242,51.506196,-0.82
-              -0.035242,51.506196,-0.824000
               -0.035303,51.506221,-15.72
-              -0.035303,51.506221,-15.724000
               -0.035354,51.506246,-15.72
-              -0.035354,51.506246,-15.724000
               -0.035400,51.506271,-15.24
-              -0.035400,51.506271,-15.244000
               -0.035438,51.506297,-15.24
-              -0.035438,51.506297,-15.244000
               -0.035462,51.506315,-15.24
-              -0.035462,51.506315,-15.244000
               -0.035472,51.506324,-15.24
-              -0.035472,51.506324,-15.244000
             </coordinates>
           </LineString>
         </Placemark>
index 56961d9e9aedaf32cb5fc26e3b862fa437cea760..358f78cf855b59cd4b9ee49b6cbcda316ada37e2 100644 (file)
@@ -3,17 +3,6 @@
        xmlns:gx="http://www.google.com/kml/ext/2.2">
   <Document>
     <name>GPS device</name>
-    <Schema id="schema">
-      <gx:SimpleArrayField name="heartrate" type="int">
-          <displayName>Heart Rate</displayName>
-      </gx:SimpleArrayField>
-      <gx:SimpleArrayField name="cadence" type="int">
-          <displayName>Cadence</displayName>
-      </gx:SimpleArrayField>
-      <gx:SimpleArrayField name="power" type="float">
-          <displayName>Power</displayName>
-      </gx:SimpleArrayField>
-    </Schema>
 <!-- Normal track style -->
     <Style id="track_n">
       <IconStyle>
         <width>6</width>
       </LineStyle>
     </Style>
+    <Schema id="schema">
+      <gx:SimpleArrayField name="heartrate" type="int">
+          <displayName>Heart Rate</displayName>
+      </gx:SimpleArrayField>
+      <gx:SimpleArrayField name="cadence" type="int">
+          <displayName>Cadence</displayName>
+      </gx:SimpleArrayField>
+      <gx:SimpleArrayField name="power" type="float">
+          <displayName>Power</displayName>
+      </gx:SimpleArrayField>
+    </Schema>
     <Folder>
       <name>Waypoints</name>
       <Placemark>
index bc7c715e9f6b558f42cc075722f6a6b7e0e8eae3..b10c24d35bc00fc8491804a76695c5af99e21778 100644 (file)
               <tessellate>1</tessellate>
               <coordinates>
                 -86.844140,35.826146
-                -86.844140,35.826146
-                -86.843587,35.824859
                 -86.843587,35.824859
                 -86.843869,35.825508
-                -86.843869,35.825508
                 -86.843399,35.825659
-                -86.843399,35.825659
-                -86.843647,35.826201
                 -86.843647,35.826201
                 -86.843137,35.825023
-                -86.843137,35.825023
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.842846,35.825765
                 -86.842846,35.825765
                 -86.842592,35.825213
-                -86.842592,35.825213
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.842084,35.825410
                 -86.842084,35.825410
                 -86.842528,35.826530
-                -86.842528,35.826530
-                -86.841917,35.826228
                 -86.841917,35.826228
                 -86.841882,35.826753
-                -86.841882,35.826753
-                -86.841275,35.825879
                 -86.841275,35.825879
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.840954,35.826506
                 -86.840954,35.826506
                 -86.840765,35.826053
-                -86.840765,35.826053
-                -86.840254,35.826187
                 -86.840254,35.826187
                 -86.840499,35.826665
-                -86.840499,35.826665
-                -86.840954,35.826506
                 -86.840954,35.826506
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.839683,35.826441
-                -86.839683,35.826441
-                -86.840327,35.827349
                 -86.840327,35.827349
                 -86.839510,35.827134
-                -86.839510,35.827134
                 -86.839451,35.827576
-                -86.839451,35.827576
-                -86.838782,35.826744
                 -86.838782,35.826744
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.844140,35.826146
-                -86.844140,35.826146
-                -86.843587,35.824859
                 -86.843587,35.824859
                 -86.843869,35.825508
-                -86.843869,35.825508
-                -86.843399,35.825659
                 -86.843399,35.825659
                 -86.843647,35.826201
-                -86.843647,35.826201
-                -86.843137,35.825023
                 -86.843137,35.825023
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.842846,35.825765
-                -86.842846,35.825765
-                -86.842592,35.825213
                 -86.842592,35.825213
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.842084,35.825410
-                -86.842084,35.825410
-                -86.842528,35.826530
                 -86.842528,35.826530
                 -86.841917,35.826228
-                -86.841917,35.826228
-                -86.841882,35.826753
                 -86.841882,35.826753
                 -86.841275,35.825879
-                -86.841275,35.825879
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.840954,35.826506
-                -86.840954,35.826506
-                -86.840765,35.826053
                 -86.840765,35.826053
                 -86.840254,35.826187
-                -86.840254,35.826187
-                -86.840499,35.826665
                 -86.840499,35.826665
                 -86.840954,35.826506
-                -86.840954,35.826506
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.839683,35.826441
                 -86.839683,35.826441
                 -86.840327,35.827349
-                -86.840327,35.827349
-                -86.839510,35.827134
                 -86.839510,35.827134
                 -86.839451,35.827576
-                -86.839451,35.827576
-                -86.838782,35.826744
                 -86.838782,35.826744
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.844140,35.836146
-                -86.844140,35.836146
-                -86.843587,35.834859
                 -86.843587,35.834859
                 -86.843869,35.835508
-                -86.843869,35.835508
-                -86.843399,35.835659
                 -86.843399,35.835659
                 -86.843647,35.836201
-                -86.843647,35.836201
-                -86.843137,35.835023
                 -86.843137,35.835023
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.842846,35.835765
-                -86.842846,35.835765
-                -86.842592,35.835213
                 -86.842592,35.835213
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.842084,35.835410
                 -86.842084,35.835410
                 -86.842528,35.836530
-                -86.842528,35.836530
-                -86.841917,35.836228
                 -86.841917,35.836228
                 -86.841882,35.836753
-                -86.841882,35.836753
-                -86.841275,35.835879
                 -86.841275,35.835879
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.840954,35.836506
-                -86.840954,35.836506
-                -86.840765,35.836053
                 -86.840765,35.836053
                 -86.840254,35.836187
-                -86.840254,35.836187
-                -86.840499,35.836665
                 -86.840499,35.836665
                 -86.840954,35.836506
-                -86.840954,35.836506
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.839683,35.836441
                 -86.839683,35.836441
                 -86.840327,35.837349
-                -86.840327,35.837349
-                -86.839510,35.837134
                 -86.839510,35.837134
                 -86.839451,35.837576
-                -86.839451,35.837576
-                -86.838782,35.836744
                 -86.838782,35.836744
               </coordinates>
             </LineString>
index e1432e8af506b7779261bafeac641f04673fbb5c..94bc9d2bc5952257f0e7538a8c3ea7a93addba60 100644 (file)
               <tessellate>1</tessellate>
               <coordinates>
                 -86.844140,35.826146
-                -86.844140,35.826146
-                -86.843587,35.824859
                 -86.843587,35.824859
                 -86.843869,35.825508
-                -86.843869,35.825508
                 -86.843399,35.825659
-                -86.843399,35.825659
-                -86.843647,35.826201
                 -86.843647,35.826201
                 -86.843137,35.825023
-                -86.843137,35.825023
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.842846,35.825765
-                -86.842846,35.825765
-                -86.842592,35.825213
                 -86.842592,35.825213
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.842084,35.825410
                 -86.842084,35.825410
                 -86.842528,35.826530
-                -86.842528,35.826530
-                -86.841917,35.826228
                 -86.841917,35.826228
                 -86.841882,35.826753
-                -86.841882,35.826753
-                -86.841275,35.825879
                 -86.841275,35.825879
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.840954,35.826506
-                -86.840954,35.826506
-                -86.840765,35.826053
                 -86.840765,35.826053
                 -86.840254,35.826187
-                -86.840254,35.826187
-                -86.840499,35.826665
                 -86.840499,35.826665
                 -86.840954,35.826506
-                -86.840954,35.826506
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.839683,35.826441
-                -86.839683,35.826441
-                -86.840327,35.827349
                 -86.840327,35.827349
                 -86.839510,35.827134
-                -86.839510,35.827134
                 -86.839451,35.827576
-                -86.839451,35.827576
-                -86.838782,35.826744
                 -86.838782,35.826744
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.844140,35.836146
-                -86.844140,35.836146
-                -86.843587,35.834859
                 -86.843587,35.834859
                 -86.843869,35.835508
-                -86.843869,35.835508
                 -86.843399,35.835659
-                -86.843399,35.835659
-                -86.843647,35.836201
                 -86.843647,35.836201
                 -86.843137,35.835023
-                -86.843137,35.835023
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.842846,35.835765
-                -86.842846,35.835765
-                -86.842592,35.835213
                 -86.842592,35.835213
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
-                -86.842084,35.835410
                 -86.842084,35.835410
                 -86.842528,35.836530
-                -86.842528,35.836530
-                -86.841917,35.836228
                 -86.841917,35.836228
                 -86.841882,35.836753
-                -86.841882,35.836753
-                -86.841275,35.835879
                 -86.841275,35.835879
               </coordinates>
             </LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.840954,35.836506
-                -86.840954,35.836506
-                -86.840765,35.836053
                 -86.840765,35.836053
                 -86.840254,35.836187
-                -86.840254,35.836187
-                -86.840499,35.836665
                 -86.840499,35.836665
                 -86.840954,35.836506
-                -86.840954,35.836506
               </coordinates>
             </LineString>
             <LineString>
               <tessellate>1</tessellate>
               <coordinates>
                 -86.839683,35.836441
-                -86.839683,35.836441
-                -86.840327,35.837349
                 -86.840327,35.837349
                 -86.839510,35.837134
-                -86.839510,35.837134
                 -86.839451,35.837576
-                -86.839451,35.837576
-                -86.838782,35.836744
                 -86.838782,35.836744
               </coordinates>
             </LineString>